<%-- 
    Document   : sanpham
    Created on : Dec 23, 2013, 5:00:52 PM
    Author     : home
--%>

<%@ page contentType="text/html" pageEncoding="UTF-8"%>
<%@ page isErrorPage="true"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="t" tagdir="/WEB-INF/tags" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>

<t:layout>
    <jsp:body>
        <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
            <tbody>
                <tr>
                    <td class="bgtitle">
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tbody>
                                <tr>
                                    <td>
                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
                                            <tbody>
                                                <tr>
                                                    <td width="20">
                                                        <img src="<c:url value="/resources/images/mui_ten.gif" />">
                                                    </td>
                                                    <td valign="bottom" class="title">
                                                        <a href="/product/camera" class="linkcat20">Máy ảnh</a>
                                                    </td>
                                                    <td width="10" valign="bottom">&nbsp;</td>
                                                </tr>
                                            </tbody>
                                        </table>
                                    </td>
                                </tr>
                            </tbody>
                        </table> 
                    </td>
                </tr>
                <tr>
                    <td valign="top">&nbsp;</td>
                </tr>
                <tr>
                    <td valign="top">
                        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                            <tbody>
                                <tr>
                                    <td>
                                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                            <tbody>
                                                <tr>
                                                    <td width="11">
                                                        <img src="<c:url value="/resources/images/" />tbl_pro1.jpg" width="11" height="11"></td>
                                                    <td background="<c:url value="/resources/images/" />tbl_pro2.jpg">
                                                        <img src="<c:url value="/resources/images/" />tbl_pro2.jpg" width="1" height="11"></td>
                                                    <td width="11">
                                                        <img src="<c:url value="/resources/images/" />tbl_pro3.jpg" width="11" height="11"></td>
                                                </tr>
                                            </tbody>
                                        </table>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                            <tbody>
                                                <tr>
                                                    <td width="11" style="background-image:url(<c:url value="/resources/images/" />tbl_pro4.jpg); background-repeat:repeat-y; background-position:left top">
                                                        <img src="<c:url value="/resources/images/" />tbl_pro4.jpg" width="11" height="1"></td>
                                                    <td>
                                                        <div align="center">
                                                            <table width="96%" align="center" border="0" cellspacing="0" cellpadding="0">
                                                                <tbody>
                                                                    <c:forEach var="hang" varStatus="hangCounter" items="${listHang}">
                                                                        <c:if test="${hangCounter.count == 1}">
                                                                            <tr>
                                                                            </c:if>
                                                                            <td width="30%" class="submenu22">
                                                                                <a href="<c:url value="/SanPham/${hang.getTenHang()}/" />" class="linkmn2">${hang.getTenHang()}</a> (${hang.getSanPhams().size()})
                                                                            </td>
                                                                            <td width="5%">&nbsp;</td>
                                                                            <c:if test="${hangCounter.count == 3}">
                                                                            </tr>
                                                                        </c:if>
                                                                    </c:forEach>
                                                                    <tr>
                                                                    </tr>
                                                                </tbody>
                                                            </table>
                                                        </div>
                                                    </td>
                                                    <td width="11" style="background-image:url(<c:url value="/resources/images/" />tbl_pro5.jpg); background-repeat:repeat-y; background-position:right top">
                                                        <img src="<c:url value="/resources/images/" />tbl_pro5.jpg" width="11" height="1">
                                                    </td>
                                                </tr>
                                            </tbody>
                                        </table>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                            <tbody>
                                                <tr>
                                                    <td width="11">
                                                        <img src="<c:url value="/resources/images/" />tbl_logo6.jpg" width="11" height="11"></td>
                                                    <td background="<c:url value="/resources/images/" />tbl_logo7.jpg">
                                                        <img src="<c:url value="/resources/images/" />tbl_logo7.jpg" width="1" height="11"></td>
                                                    <td width="11">
                                                        <img src="<c:url value="/resources/images/" />tbl_logo8.jpg" width="11" height="11"></td>
                                                </tr>
                                            </tbody>
                                        </table>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </td>
                </tr>
            </tbody>
        </table>
    </jsp:body>
</t:layout>